<!--
*Author：富行天下团队

 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/MXT/Taken.js此处编写
 -->
<template>
  <div>
    <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
      :editFormFileds="editFormFields" :editFormOptions="editFormOptions"
      :searchFormFields="searchFormFields" :searchFormFileds="searchFormFields"
      :searchFormOptions="searchFormOptions" :table="table" :extend="extend">
    </view-grid>
  </div>
</template>

<script>
import extend from "@/extension/MXT/Taken.js";
import ViewGrid from "@/components/basic/ViewGrid.vue";
var vueParam = {
  components: {
    ViewGrid,
  },
  data() {
    return {
      table: {
        key: "sub_tag",
        footer: "Foots",
        cnName: "马戏团核销统计",
        name: "Taken",
        url: "/Taken/",
        sortName: "sub_tag",
        paginationSize: 99999999,
        paginationHide: true,
      },
      extend: extend,
      editFormFields: {},
      editFormOptions: [],
      searchFormFields: { title: "", date: "" },
      searchFormOptions: [
        [
          { title: "查询无效果", field: "title", type: "like" },
          { title: "时间", field: "date", type: "datetime" },
        ],
      ],
      columns: [
        {
          field: "sub_tag",
          title: "sub_tag",
          type: "string",
          width: 120,
          require: true,
          align: "left",
          sortable: true,
        },
        {
          field: "VVIP",
          title: "VVIP",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "vip",
          title: "vip",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "yx",
          title: "yx",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "zx",
          title: "zx",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "sm",
          title: "sm",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "cy",
          title: "cy",
          type: "decimal",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tsub_tag",
          title: "tsub_tag",
          type: "string",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tvvip",
          title: "tvvip",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tvip",
          title: "tvip",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tyx",
          title: "tyx",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tzx",
          title: "tzx",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tsm",
          title: "tsm",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
        {
          field: "tcy",
          title: "tcy",
          type: "int",
          width: 120,
          require: true,
          align: "left",
        },
      ],
      detail: {
        cnName: "#detailCnName",
        columns: [],
        sortName: "",
        key: "",
      },
    };
  },
};
export default vueParam;
</script>
